package cn.shentianlan.mapper;

import cn.shentianlan.criteria.TransactionProcessingCriteria;
import cn.shentianlan.domain.dto.TransactionProcessingDTO;
import cn.shentianlan.domain.entity.TransactionProcessing;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 陈俊源
 * @Description TODO
 * @Date 2021/5/7
 * @Version 1.0
 */
@Repository
public interface TransactionProcessingMapper {
    void save(TransactionProcessingDTO dto);

    void update(TransactionProcessingDTO dto);

    Integer getCount(TransactionProcessingCriteria criteria);

    List<TransactionProcessing> findTransactionProcessingByCriteria(TransactionProcessingCriteria criteria);

    TransactionProcessing getTransactionProcessingById(Long id);

    void deleteTransactionProcessingById(Long id);
}
